package cosc617_blackteam;

/**
 * @author Laura
 * Adds a customer party 
 *
 */
public class CmdAddParty implements I_Command {
	private InfoAggregator infoagg;
	CustomerParty party;
	public CmdAddParty(InfoAggregator infoagg, CustomerParty party){
		this.infoagg = infoagg;
		this.party = party;
	}
	@Override
	public Boolean execute() {
		
		return infoagg.addParty(party);
	
	}

}
